package com.ruoyi.customer.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.customer.domain.bo.CustomerBo;
import com.ruoyi.customer.domain.bo.TRevieweBo;
import com.ruoyi.customer.domain.bo.TRevieweInfoBo;
import com.ruoyi.customer.domain.bo.WithdrawBo;
import com.ruoyi.customer.domain.vo.CustomerVo;
import com.ruoyi.customer.domain.vo.TRevieweInfoVo;
import com.ruoyi.customer.domain.vo.TRevieweVo;
import java.util.Collection;
import java.util.List;

/**
 * 再审件Service接口
 *
 * @author zr
 * @date 2023-08-02
 */
public interface ITRevieweInfoService {

    /**
     * 查询再审件
     */
    TRevieweInfoVo queryById(Long id);

    /**
     * 查询再审件列表
     */
    TableDataInfo<TRevieweInfoVo> queryPageList(TRevieweInfoBo bo, PageQuery pageQuery);

    /**
     * 查询再审件列表
     */
    List<TRevieweInfoVo> queryList(TRevieweInfoBo bo);

    /**
     * 新增再审件
     */
    Boolean insertByBo(TRevieweInfoBo bo);

    /**
     * 修改再审件
     */
    Boolean updateByBo(TRevieweInfoBo bo);

    /**
     * 校验并批量删除再审件信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);


    TableDataInfo<CustomerVo> revieweInfoCustomerList(CustomerBo bo, PageQuery pageQuery);

    /**
     * 查询再审件列表
     */
    TableDataInfo<TRevieweVo> queryPageCustomerList(TRevieweBo bo, PageQuery pageQuery);


    // 撤回操作
    void withdrawOperator(WithdrawBo withdrawBo);
}
